package com.ncu.cloundeoffice.service.impl;

import com.ncu.cloundeoffice.mapper.TPoliticsStatusMapper;
import com.ncu.cloundeoffice.pojo.TPoliticsStatus;
import com.ncu.cloundeoffice.service.TPoliticsStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TPoliticsStatusServiceImpl implements TPoliticsStatusService {

    @Autowired
    private TPoliticsStatusMapper tPoliticsStatusMapper;

    /**
     * 查询所有的政治面貌
     * @return
     */
    @Override
    public List<TPoliticsStatus> getAllTPoliticsStatus() {
        return tPoliticsStatusMapper.getAllTPoliticsStatus();
    }
}
